//
//  TestFlexViewController.m
//  MyDemos
//
//  Created by iMac on 2018/3/22.
//  Copyright © 2018年 iMac. All rights reserved.
//

#import "TestFlexViewController.h"


@interface TestFlexViewController ()

@end

@implementation TestFlexViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self testFlexLayoutWithScrollView];
    
}

- (void)testFlexLayoutWithScrollView {
    UIScrollView *contentView = [UIScrollView new];
    contentView.frame = CGRectMake(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT);
    [self.view addSubview:contentView];
    
    UIView *child1 = View().sBGColor([UIColor blueColor]);
//    child1
}

@end
